import { bundledLanguages, createHighlighter } from 'shiki'

const highlighter = await createHighlighter({
  themes: ['github-dark', 'github-light'],
  langs: Object.keys(bundledLanguages),
})

export default highlighter
